package com.bw.service;

import com.bw.mapper.MapperDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ServiceImpl implements ServiceMapper{
    @Autowired
    MapperDao mapperDao;

    @Override
    public List<Map> show(String nowDate) {
        return mapperDao.show(nowDate);
    }
    //按照省份展示总成交额指标

    @Override
    public List<Map> findTotal() {
        return mapperDao.findTotal();
    }
    //2：按品牌展示销售排行
    @Override
    public List<Map> zhan() {
        return mapperDao.zhan();
    }
}
